home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1991 / Jan 91 / MacApp.Tech$ 1⁄11⁄91 / 2650-RE[2]-TObject Superc-Jan91 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  32 lines  |  [TEXT/GEOL]

  1. Item    5698159                         11-Jan-91        22:21PST
  2.  
  3. From:   D3085                           Progressive Computing, D Lucky,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.         HABLUTZEL                       Hablutzel, Bob
  7.  
  8. ------------------------------------------------------------------------------
  9.  
  10. Sub:    RE[2]-TObject Superclass?
  11.  
  12. Bob,
  13.  
  14.     Sorry, I guess I didn't explain it well enough.  What I'd like to do is:
  15.  
  16.         TSuperObject = OBJECT
  17.         TObject = OBJECT(TSuperObject)
  18.  
  19.     TObject is the only class that would be derived from TSuperObject (yikes,
  20. whadda name).  Also, TSuperObject is abstract so no objects of this class will
  21. ever be instantiated.  Now all of my MacApp classes (i.e., all that are
  22. subclasses of TObject) should now share the behavior (fields and methods) of
  23. TSuperObject.  I'll have to modify TObject.IObject to call
  24. TSuperObject.ISuperObject for initialization.  A problem that I can see is that
  25. TSuperObject won't be able to have a Fields method but I can live with that
  26. since I'm using The Debugger.  Are there any other problems that I may run
  27. into?  Or will this just not work?
  28.  
  29. Thanx,
  30. Dave
  31.  
  32.